package org.xlp.db.bridge.strategy;

import org.xlp.db.sql.limit.Limit;
import org.xlp.db.xml.XmlSQL;
import org.xlp.db.xml.ele.SQLEle;

import java.lang.reflect.Constructor;
import java.util.List;

/**
 * Description: XmlSQL构造函数信息对象
 * <br/>date: 2024/4/22 22:41
 *
 * @version 1.0
 * @author: xlp
 */
public class XmlSQLConstructorInfo {
    /**
     * XmlSQL构造函数
     */
    private Constructor<? extends XmlSQL> constructor;

    /**
     * XmlSQL构造函数对应的参数列表，除{@link SQLEle} 参数
     */
    private List<Object> parameters;

    /**
     * 分页信息
     */
    private Limit limit;

    public Constructor<? extends XmlSQL> getConstructor() {
        return constructor;
    }

    public void setConstructor(Constructor<? extends XmlSQL> constructor) {
        this.constructor = constructor;
    }

    public List<Object> getParameters() {
        return parameters;
    }

    public void setParameters(List<Object> parameters) {
        this.parameters = parameters;
    }

    public Limit getLimit() {
        return limit;
    }

    public void setLimit(Limit limit) {
        this.limit = limit;
    }
}
